/**
 * @flow
 */
import React from 'react'

// prettier-ignore
import {
  SafeAreaView,
  StatusBar,
  Text,
  useColorScheme,
  View
} from 'react-native'

import {Colors} from 'react-native/Libraries/NewAppScreen'
import TestStick from '../test/index'

export default function App() {
  TestStick.show()
  const isDarkMode = useColorScheme() === 'dark'
  const backgroundStyle = {
    backgroundColor: isDarkMode ? Colors.darker : Colors.lighter,
  }
  return (
    <SafeAreaView style={backgroundStyle}>
      <StatusBar barStyle={isDarkMode ? 'light-content' : 'dark-content'} />
      <View>
        <Text>入口</Text>
      </View>
    </SafeAreaView>
  )
}
